﻿using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
using Abp.Domain.Entities;
using Abp.Domain.Entities.Auditing;
using Sw.Hospital.HealthExaminationSystem.Core.Coding;

namespace Sw.Hospital.HealthExaminationSystem.Core.Examination
{
    /// <summary>
    /// 一元化表格
    /// </summary>
    public class TjlCustomerInspectionTotalUnify : AuditedEntity<Guid>
    {
        /// <summary>
        /// 预约id
        /// </summary>
        [ForeignKey("CustomerReg")]
        public virtual Guid CustomerRegID { get; set; }
        /// <summary>
        /// 预约id
        /// </summary>
        public virtual TjlCustomerReg CustomerReg { get; set; }
        /// <summary>
        /// 体检总检建议BMID
        /// </summary>
        [ForeignKey("CustomerSummarizeBM")]
        public virtual Guid CustomerSummarizeBMID { get; set; }
        /// <summary>
        /// 体检总检建议BM
        /// </summary>
        public virtual TjlCustomerSummarizeBM CustomerSummarizeBM { get; set; }
        /// <summary>
        /// 建议类别 1健康体检建议2职业健康建议3保健建议4专科建议
        /// </summary>
        public virtual int? SummarizeType { get; set; }

        /// <summary>
        /// 建议名称（拆分后）
        /// </summary>
        [StringLength(128)]
        public virtual string SummarizeName { get; set; }

        /// <summary>
        /// 建议内容
        /// </summary>
        [StringLength(3072)]
        public virtual string Advice { get; set; }
        
       


    }
}